<?php 
/**
 * @version		2.0.1 | $Id: form.php 93 2009-08-28 10:56:02Z mwi.nor $
 */

// no direct access
defined('_JEXEC') or die('Restricted access');
	JToolBarHelper::media_manager( '/' );
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<div class="col100">
    <fieldset class="adminform">
        <legend><?php echo JText::_( 'MD_VENUE_DETAILS' ); ?></legend>
        <table class="admintable">
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueName">
                <?php echo JText::_( 'MD_VENUE_NAME' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueName" id="VenueName" size="32" value="<?php echo $this->venue->VenueName;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueLocation">
                <?php echo JText::_( 'MD_VENUE_LOCATION' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueLocation" id="VenueLocation" size="32" value="<?php echo $this->venue->VenueLocation;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueAddress">
                <?php echo JText::_( 'MD_VENUE_ADDRESS' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueAddress" id="VenueAddress" size="32" value="<?php echo $this->venue->VenueAddress;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueDirection">
                <?php echo JText::_( 'MD_VENUE_DIRECTION' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueDirection" id="VenueDirection" size="32" value="<?php echo $this->venue->VenueDirection;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueURL">
                <?php echo JText::_( 'MD_VENUE_URL' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueURL" id="VenueURL" size="32" value="<?php echo $this->venue->VenueURL;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueEmail">
                <?php echo JText::_( 'MD_VENUE_EMAIL' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueEmail" id="VenueEmail" size="32" value="<?php echo $this->venue->VenueEmail;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueLogo">
                <?php echo JText::_( 'MD_VENUE_LOGO' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueLogo" id="VenueLogo" size="32" value="<?php echo $this->venue->VenueLogo;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueSubstitute">
                <?php echo JText::_( 'MD_VENUE_SUBSTITUTE' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->venuelist ?>
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="VenueRemarks">
                <?php echo JText::_( 'MD_VENUE_REMARKS' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="VenueRemarks" id="VenueRemarks" size="32" value="<?php echo $this->venue->VenueRemarks;?>" />
            </td>
		</tr>
        </table>
    </fieldset>
</div>

<div class="clr"></div>

<input type="hidden" name="option" value="com_matchdart" />
<input type="hidden" name="VenueID" value="<?php echo $this->venue->VenueID; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="controller" value="venues" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>